package com.bootx.util.lottery.pojo;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;

import java.util.Date;

@JsonIgnoreProperties(ignoreUnknown = true)
public class DrawLotteryData {

    private ResultDTO result = new ResultDTO();

    public ResultDTO getResult() {
        return result;
    }

    public void setResult(ResultDTO result) {
        this.result = result;
    }

    @JsonIgnoreProperties(ignoreUnknown = true)
    public static class ResultDTO {
        @JsonProperty("data")
        private DataDTO data = new DataDTO();

        public DataDTO getData() {
            return data;
        }

        public void setData(DataDTO data) {
            this.data = data;
        }

        @JsonIgnoreProperties(ignoreUnknown = true)
        public static class DataDTO {
            private Long lotCode;
            private String lotName;
            //下一期的开奖时间
            private String drawTime;
            //下一期
            private Long drawIssue;
            // 当前期
            private Long preDrawIssue;
            //当前期的开奖时间
            private String preDrawTime;
            // 当前期的开奖号码
            private String preDrawCode;

            public Long getLotCode() {
                return lotCode;
            }

            public void setLotCode(Long lotCode) {
                this.lotCode = lotCode;
            }

            public String getLotName() {
                return lotName;
            }

            public void setLotName(String lotName) {
                this.lotName = lotName;
            }

            public String getPreDrawCode() {
                return preDrawCode;
            }

            public void setPreDrawCode(String preDrawCode) {
                this.preDrawCode = preDrawCode;
            }

            public Long getDrawIssue() {
                return drawIssue;
            }

            public void setDrawIssue(Long drawIssue) {
                this.drawIssue = drawIssue;
            }


            public String getDrawTime() {
                return drawTime;
            }

            public void setDrawTime(String drawTime) {
                this.drawTime = drawTime;
            }

            public Long getPreDrawIssue() {
                return preDrawIssue;
            }

            public void setPreDrawIssue(Long preDrawIssue) {
                this.preDrawIssue = preDrawIssue;
            }

            public String getPreDrawTime() {
                return preDrawTime;
            }

            public void setPreDrawTime(String preDrawTime) {
                this.preDrawTime = preDrawTime;
            }
        }
    }
}
